/**
 * 项目回款信息查询参数
 */
export interface ProReceiveMoneyQuery {
  pageNum?: number;
  pageSize?: number;
  proId?: string | number;
  nodeTitle?: string;
  isArrive?: string;
  receiveStatus?: string;
}

/**
 * 项目回款信息表单对象
 */
export interface ProReceiveMoneyForm {
  id?: string | number;
  proId?: string | number;
  isArrive?: string;
  totalAmount?: number | string;
  receivedAmount?: number | string;
  surplusAmount?: number | string;
  nextPlan?: string;
  nodeTitle?: string;
  nodeLeadersId?: string;
  receiveStatus?: string;
  remark?: string;
  receiveOrder?: number;
}

/**
 * 项目回款信息VO对象
 */
export interface ProReceiveMoneyVO {
  id: string | number;
  proId: string | number;
  nodeLeadersId: string;
  nodeTitle: string;
  nodeLeadersName: string;
  totalAmount: number | string;
  receivedAmount: number | string;
  surplusAmount: number | string;
  receiveStatus: string;
  isArrive: string;
  nextPlan: string;
  updateTime: string;
  remark: string;
  createBy?: string;
  createTime?: string;
  updateBy?: string;
  receiveOrder?: number;
  hasPlanNode?: string;
}

/**
 * 项目回款日志VO对象
 */
export interface ProReceiveLogVO {
  id?: string | number;
  receiveId?: string | number;
  proId?: string | number;
  nodeTitle?: string;
  totalAmount?: number | string;
  receivedAmount?: number | string;
  surplusAmount?: number | string;
  nextPlan?: string;
  receiveStatus?: string;
  isArrive?: string;
  remark?: string;
  logTime?: string;
  logBy?: string | number;
  nodeLeadersId?: string;
  nodeLeadersName?: string;
}

export interface ProReceiveRegisterVO {
  /**
   * 主键
   */
  id: string | number;

  /**
   * 登记时间
   */
  registerTime: string;

  /**
   * 登记人
   */
  registerBy: number;

  /**
   * 合同ID
   */
  conId: string | number;

  /**
   * 收款日期
   */
  receiveTime: string;

  /**
   * 收款金额
   */
  receiveAmount: number;

  /**
   * 备注
   */
  remark: string;

  /**
   * 登记人名称
   */
  registerName: string;

  /**
   * 合同名称
   */
  conName: string;

  /**
   * 收款负责人
   */
  receiveName: string;
}

export interface ProReceiveRegisterForm extends BaseEntity {
  /**
   * 主键
   */
  id?: string | number;

  /**
   * 登记时间
   */
  registerTime?: string;

  /**
   * 登记人
   */
  registerBy?: number;

  /**
   * 合同ID
   */
  conId?: string | number;

  /**
   * 收款日期
   */
  receiveTime?: string;

  /**
   * 收款金额
   */
  receiveAmount?: number;

  /**
   * 备注
   */
  remark?: string;

  /**
   * 收款负责人
   */
  proReceivedName?: string;
}

export interface ProReceiveRegisterQuery extends PageQuery {

  /**
   * 合同名称（模糊）
   */
  conName?: string;

  /** 执行总裁（单选ID） */
  proPresidentId?: string;

  /** 项目负责人（单选ID） */
  proLeaderId?: string;

  /**
   * 日期范围参数
   */
  params: any;
}
